Expand description
Source positions and related helper functions.
Structs§
- An inlinable string for oxc_allocator.
- Lifetimeless version of [
Atom<'_>
] which owns its own string data allocation. - Source Type for JavaScript vs TypeScript / Script vs Module / JSX
- Newtype for working with text ranges
Enums§
- JavaScript or TypeScript
- JSX for JavaScript and TypeScript
- Script or Module
Constants§
- Maximum length for inline string, which can be created with
CompactStr::new_const
. - An Empty span useful for creating AST nodes.
- Valid file extensions
Traits§
- Get the span for an AST node
- Get mutable ref to span for an AST node